package tack12;

public class Console {
    public static void main(String[] args) {
        Robber robber = new Robber("平原",23);
        robber.selfIntroduce();
        robber.rob();
        robber.attack();
        Hunter hunter = new Hunter("李天林",45);
        hunter.selfIntroduce();
        hunter.hunt();
        hunter.attack();
        Doctor doctor = new Doctor("向宇强",50);
        doctor.selfIntroduce();
        doctor.treat();
        Farmer farmer = new Farmer("王赵志宇",32);
        farmer.selfIntroduce();
        farmer.attack();
        farmer.treat();
        farmer.mine();
        Soldier soldier = new Soldier("黄森",19);
        soldier.selfIntroduce();
        soldier.defend();
    }
}
